package jp.co.piratealliance.pirateAllianceWeb.web.action.bonus;

import java.util.List;

import jp.co.piratealliance.pirateAllianceWeb.common.base.BaseAction;
import jp.co.piratealliance.pirateAllianceWeb.dto.bonus.BonusInfoDto;
import jp.co.piratealliance.pirateAllianceWeb.service.bonus.BonusService;

/**
 * copyright pirate alliance team 2014
 *
 * @author lunxing
 */

public class BonusAction extends BaseAction {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private BonusService bonusService;

	private List<BonusInfoDto> bonusInfoDtoList;

	public String getBonusInfoListByDate()
	{
		this.bonusInfoDtoList = this.bonusService.getBonusListByDate();
		return SUCCESS;
	}

	/**
	 * @return the bonusInfoDtoList
	 */
	public List<BonusInfoDto> getBonusInfoDtoList() {
		return bonusInfoDtoList;
	}

	/**
	 * @param bonusInfoDtoList the bonusInfoDtoList to set
	 */
	public void setBonusInfoDtoList(List<BonusInfoDto> bonusInfoDtoList) {
		this.bonusInfoDtoList = bonusInfoDtoList;
	}

	/**
	 * @return the bonusService
	 */
	public BonusService getBonusService() {
		return bonusService;
	}

	/**
	 * @param bonusService the bonusService to set
	 */
	public void setBonusService(BonusService bonusService) {
		this.bonusService = bonusService;
	}	
	
}
